<h2>Search</h2>
<form method="post" action="<?=$html->url('/products/search');?>">
<input type="text" name="search"/>
<input type="submit"/>
</form>
<?php

$quicklinks = array();

foreach($products as $product) {
  echo $this->renderElement('product',array('product'=>$product));
  if (!isset($quicklinks[$product['Member']['business_name']])) {
  	$quicklinks[$product['Member']['business_name']] = $html->link('About ' . $product['Member']['business_name'],array('controller' => 'producers', 'action' => 'about', $product['Member']['username']));
  }
}

ksort($quicklinks);
$this->set('quicklinks', $quicklinks);

?>
<pre>
<?php //print_r($products); ?>
</pre>
<div style="clear:both"></div>
